package com.zw.workflowllm.mapstruct;

import com.zw.workflowllm.vo.TaskVO;
import org.flowable.task.api.Task;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface TaskVOMapper {
    TaskVO toTaskVO(Task task);

    List<TaskVO> toTaskVO(List<Task> tasks);
}
